package top.z.orm.core.osql.chain;

/**
 * UnionSelect接口,用于链式风格写SQL语句
 */
public interface UnionSelect extends ToSql {

    UnionSelect union(Select subSelect1, Select subSelect2);

    UnionSelect union(String subSelect1, String subSelect2);

    UnionSelect unionAll(Select subSelect1, Select subSelect2);

    UnionSelect unionAll(String subSelect1, String subSelect2);
}